<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>余额提现 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /></head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"}
<div class="uright">
	<div class="mwz"><li class="cur">余额提现</li><li><a href='/member/lists/cashed/'>提现记录</a></li></div>
	<form class="layui-form layui-font14"  name="" action="" method="post" enctype="multipart/form-data">
		
		<div class="layui-form-item">
			<label class="layui-form-label big">可用余额</label>
			<div class="layui-form-mid layui-word-aux" style='font-size:18px;color: #FB491E;'>￥<b class='uemoney'>{$user.money}</b> </div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label big">提现金额</label>
			<div class="layui-input-inline">
				<input  name="money" class="layui-input" value=""  placeholder="请输入提现金额" maxlength="8" lay-verify="tmoney" size="10" type="text"/>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label big">帐号类型</label>
			<div class="layui-input-inline">
				<div class="layui-unselect layui-form-select bank-select">
					<div class="layui-select-title">
							<div class="layui-input BankInput BankIco" id="ALIPAY"></div>
							<i class="layui-edge"></i>
					</div>
					<dl class="layui-anim layui-anim-upbit">
						<div class="BankList">
						<li><a class="BankIco" id="ALIPAY" title="支付宝"></a></li><li><a class="BankIco" id="TENPAY" title="财付通"></a></li><li><a class="BankIco" id="ICBC" title="工商银行"></a></li><li><a class="BankIco" id="ABC" title="农业银行"></a></li><li><a class="BankIco" id="CCB" title="建设银行"></a></li><li><a class="BankIco" id="CMB" title="招商银行"></a></li><li><a class="BankIco" id="BOC" title="中国银行"></a></li><li><a class="BankIco" id="PSBC" title="邮政银行"></a></li><li><a class="BankIco" id="COMM" title="交通银行"></a></li><li><a class="BankIco" id="CITIC" title="中信银行"></a></li><li><a class="BankIco" id="CMBC" title="民生银行"></a></li><li><a class="BankIco" id="CEB" title="光大银行"></a></li><li><a class="BankIco" id="CIB" title="兴业银行"></a></li><li><a class="BankIco" id="SPDB" title="浦发银行"></a></li><li><a class="BankIco" id="GDB" title="广发银行"></a></li><li><a class="BankIco" id="SPABANK" title="平安银行"></a></li><li><a class="BankIco" id="HXBANK" title="华夏银行"></a></li><li><a class="BankIco" id="BJBANK" title="北京银行"></a></li><li><a class="BankIco" id="SHBANK" title="上海银行"></a></li><li><a class="BankIco" id="JSBANK" title="江苏银行"></a></li><li><a class="BankIco" id="CZBANK" title="浙商银行"></a></li><li><a class="BankIco" id="HSBANK" title="徽商银行"></a></li><li><a class="BankIco" id="BJRCB" title="北京农商行"></a></li><li><a class="BankIco" id="JSRCU" title="江苏农信社"></a></li>						</div>
					</dl>
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label big"><span class="typename">支付宝</span>帐号</label>
			<div class="layui-input-inline ">
			<input  name="bankid"  lay-verify="bankid" class="layui-input" value=""   onblur="this.value=this.value.replace(/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/g,'')"  onfocus = "this.value=this.value.replace(/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/g,'')"  lay-verify="required"  type="text" placeholder="请输入收款账号" />
			</div>
		</div>
		{if($certification)}
		<div class="layui-form-item">
			<label class="layui-form-label big"><span class="typename">支付宝</span>户名</label>
					<div class="layui-inline">
			<select name="truename" lay-verify="required">
			<option value="">请选择..</option>
				{foreach($certification as $v)}
				<option value="{$v.name}" >{$v.name}</option>
				{/foreach}
			</select>
			</div>
		</div>{else}
		<div class="layui-form-item">
			<label class="layui-form-label big"><span class="typename">支付宝</span>户名</label>
			<div class="layui-input-inline">
				<input name="truename" class="layui-input" value="" onblur="value=value.replace(/[^\a-\z\A-\Z\u4E00-\u9FA5]/g,'')"  onfocus = "value=value.replace(/[^\a-\z\A-\Z\u4E00-\u9FA5]/g,'')"  lay-verify="required" type="text" placeholder="例：张三"/>
			</div>
			<div class="layui-inline"><div class="layui-form-mid layui-word-aux" style="#247fbd">提现至未实名【户名】，单笔金额上限为<b>50</b>元（<u><a href="/member/certification/idcard"  target="_blank">实名认证</a></u>后解除限制）</div></div>
		</div>			
		{/if}
		<div class="layui-form-item" style='padding-bottom:15px;'>
			<label class="layui-form-label big"></label>
			<div class="layui-inline"><input type="submit" class="layui-btn" lay-submit="" id='cashed'  lay-filter="cashed"  value="确认提交" /></div>
			<div class='layui-inline'><input type='checkbox' value='1' name='jz' checked />记住选择，下次自动填写</div>
		</div>

		<div class='notes'>
			<li><h3>注意事项：</h3></li>
			<li>
				<b>1.</b>单笔提现金额≥30元，手续费<span id='txfees'>1%</span>，72小时左右处理，提现结果会通过邮件方式告知；
			</li>
								</div>
		<input type="hidden" name="action" value="add">
		<input type="hidden" name="bh" value="{:shop_bh()}">
		<input type="hidden" name="type" value="支付宝">
		<input type="hidden" name="passkey" value="{:passkey()}">
	</form>
</div>
</div>
{include file="bottom"}<script type="text/javascript">
ver=false;
layui.use('form',function(){var form=layui.form();form.verify({tmoney:function(value){if(value<30||isNaN(value))return'提现金额不能低于30元';if(value>parseFloat($('.uemoney').html()))return'提现金额超出账户可用余额';},bankid:function(value){var type=$('input[name=type]').val();if(type=='支付宝'&&value.indexOf("@")<0)return'支付宝只能输入邮箱帐号！';if(type!='支付宝'&&type!='财付通'&&$('input[name=money]').val()<1000)return'提现金额小于1000元，暂不支持银行卡，请用支付宝申请提现！';if(type=='支付宝'&&$('input[name=money]').val()>10000)return'支付宝最多仅支持提现10000元，否则请改用银行卡申请提现！';if(type=='财付通'&&$('input[name=money]').val()>300)return'财付通最多仅支持提现300元，否则请改用支付宝或银行卡申请提现！';}});form.on('submit(cashed)',function(data){if(ver)return true;safever('cashed');return false});
$('.bank-select .layui-select-title').live('click',function(){$('.bank-select').toggleClass("layui-form-selected")});$('.BankList a').live('click',function(){$('.typename').html($(this).attr('title'));$('.BankInput').attr('id',$(this).attr('id'));$('input[name=type]').val($(this).attr('title'))})
});
</script>
<style type="text/css">
.bank-select .layui-anim{max-height:none;overflow:hidden}.BankList{overflow:hidden;padding:10px 5px 4px 15px;width:456px;background:#fff}.BankList li{float:left;margin-right:10px;margin-bottom:6px}.BankList .BankIco{width:140px;border:1px solid #fff;height:30px}.BankList .BankIco:hover{border:1px solid #6CB1D2;-webkit-transition:border .2s ease-in;-moz-transition:border .2s ease-in;transiton:border .2s ease-in}.BankIco{display:block;background:url(/static/thinkct/image/bank_icon.png) no-repeat 0 0}#ALIPAY{background-position:0 -782.5px}#TENPAY{background-position:0 -816px}#HSBANK{background-position:0 -749px}#CZBANK{background-position:0 -719px}#ICBC{background-position:0 -2px}#ABC{background-position:0 -37px}#CCB{background-position:0 -74px}#CMB{background-position:0 -111px}#BOC{background-position:0 -148px}#PSBC{background-position:0 -181px}#COMM{background-position:0 -219px}#CITIC{background-position:0 -254px}#CMBC{background-position:0 -291px}#CEB{background-position:0 -328px}#CIB{background-position:0 -363px}#SPDB{background-position:0 -398px}#GDB{background-position:0 -434px}#HXBANK{background-position:0 -470px}#SPABANK{background-position:0 -506px}#BJBANK{background-position:0 -542px}#SHBANK{background-position:0 -580px}#JSBANK{background-position:0 -612px}#BJRCB{background-position:0 -649px}#JSRCU{background-position:0 -685px}
</style>
</body>
</html>